public class J04 {
    public static void main(String[] args) {
        int a = 1+2;
        System.out.println(a);//3

        System.out.println(3-2);//1

        System.out.println(1+2*2);//5
        System.out.println(6/3);//2
        System.out.println(10/3);//舍弃余数,3

        System.out.println("====");
        System.out.println(5%2);//1
        System.out.println(4%2);//0
        System.out.println(100%60);//40

        int age = 3;
        age = age + 1;
        System.out.println(age);
    }
}
class J05{
    public static void main(String[] args) {
        int age = 2;
        age += 1;//age = age + 1;
        System.out.println(age);//3

        age += 10;
        System.out.println(age);
        System.out.println("====");
        int blood = 100;
        blood /=2;//blood = blood / 2
        System.out.println(blood);

        int x1 = 20;
        x1 %= 12;
        System.out.println(x1);

    }
}